package com.xiaoxiong.text;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends Activity {

	private Button mButton;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.main);
		
		mButton = (Button) findViewById(R.id.login);
		
		mButton.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
//				Intent in = new Intent(MainActivity.this, SecheduleActivity.class);
				Intent in = new Intent(MainActivity.this, AttendanceActivity.class);
				startActivity(in);
			}
		});
	}
}